package cn.trigram.jmx.hello_mxbean;

//自定义对象
public class User {

  private String username;

  private String password;

  public User() {

  }

  public User(String username, String password) {

    this.username = username;
    this.password = password;
  }

  public void setPassword(String password) {

    this.password = password;
  }

  public void setUsername(String username) {

    this.username = username;
  }

  public String getPassword() {

    return password;
  }

  public String getUsername() {

    return username;
  }

}
